package com.lack.project.model.dto.userInterfaceInfo;

import com.lack.project.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


/**
 * 创建请求
 *
 * @author lack
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UserInterfaceInfoQueryRequest extends PageRequest implements Serializable {

    /**
     * id
     */
    private Long id;

    /**
     * 调用用户Id
     */
    private Long userId;

    /**
     * 接口Id
     */
    private Long interfaceInfo;

    /**
     * 总调用数
     */
    private Integer totalNum;

    /**
     * 可调用次数
     */
    private Integer leftNum;

    /**
     * 接口状态 0-禁用，1-正常
     */
    private Integer status;

    private static final long serialVersionUID = 1L;
}